package com.ccnf.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "ValidateCode对象", description = "验证码信息表")
public class PhoneCaptcha {
    @ApiModelProperty("手机号")
    @TableId(type = IdType.INPUT)
    private String phone;
    @ApiModelProperty("验证码")
    private String captcha;
    @ApiModelProperty("有效期")
    private Long expireTime;
}